ascending order of rational numbers